home *** CD-ROM | disk | FTP | other *** search
- Path: solon.com!not-for-mail
- From: seebs@solutions.solon.com (Peter Seebach)
- Newsgroups: comp.lang.c,comp.lang.c++
- Subject: Re: Borland should be ashamed. My experience with BC5.0.
- Date: 20 Apr 1996 19:58:16 -0500
- Organization: Usenet Fact Police (Undercover)
- Message-ID: <4lc178$pjt@solutions.solon.com>
- References: <4l6d1b$219@linet06.li.net> <4l8j3cINNfbr@keats.ugrad.cs.ubc.ca> <4lbquv$r3k@linet06.li.net>
- Reply-To: seebs@solon.com
- NNTP-Posting-Host: solutions.solon.com
-
- In article <4lbquv$r3k@linet06.li.net>, Bob Silvern <bsilvern@li.net> wrote:
- >I paid $350 to "upgrade" to BC5.0, only to find it is inferior to the version I
- >was previously using. Please feel free to give as much of your money away to
- >Borland as you please, but when I pay money I expect something in return.
-
- So complain to Borland, or the local Better Business Bureau.
-
- >Yes, optimization was turned off. BTW, even if optimization were enabled,
- >would it be OK for the debugger to display the incorrect value for a variable?
-
- Sure. It's canonical behavior, which is why something like two thirds of
- compilers in use a couple of years ago are *incapable* of producing debugging
- symbols and optimizing in the same piece of code. I've seen $5,000+ compiler
- toolsets that couldn't even provide the situation you're finding a bug in,
- because they feel that debugging and optimizing do not need to happen to
- the same piece of code.
-
- Further, from the point of view of the language, it is permissible for the
- debugger to not exist, or to misbehave randomly; it is not a requirement of
- the language.
-
- Debug by instrumenting your code properly; you will find that debuggers are
- nearly useless compared to a good error log.
-
- >I could live with it displaying no value at all, but displaying the wrong value
- >I think you would have to consider a bug.
-
- It depends. Go look through the documentation and see under what
- circumstances it guarantees it will display correct values. Some
- debuggers will document limitations in this respect.
-
- -s
- --
- Peter Seebach - seebs@solon.com - Copyright 1996 Peter Seebach.
- C/Unix wizard -- C/Unix questions? Send mail for help. No, really!
- Unsolicited email is not welcome, and will be billed for at consulting rates.
- The *other* C FAQ - http://www.solon.com/~seebs/c/c-iaq.html
-